//
//  CommentTableViewCell.m
//  FoodList
//
//  Created by 王金晶 on 16/4/12.
//  Copyright © 2016年 王金晶. All rights reserved.
//

#import "CommentTableViewCell.h"

@implementation CommentTableViewCell
- (void)setModel:(CommentModel *)model
{
    _model = model;
    [self.icon sd_setImageWithURL:[NSURL URLWithString:model.profileImageUrl]];
    self.nickname.text = model.nickname;
    self.time.text = model.date;
    self.content.text = model.content;
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
